package com.suixinsanren.design.factory.demo.demo01;

public class NYStyleCheesePizza extends Pizza {

    public NYStyleCheesePizza() {
        name = "纽约风味酱汁芝士披萨";
        dough = "这个硬皮面团";
        sauce = "大蒜沙司";

        toppings.add("磨碎的雷吉亚诺奶酪");
    }

    public void cut() {
        System.out.println("把披萨切成正方形的薄片");
    }

}
